package io.yuncheng.modules.sys.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 密评以及风评方案
 *
 * @author Mark
 * @email 15721509625@163.com
 * @date 2020-10-23 12:22:04
 */
@Data
public class SubAppAssessmentVO implements Serializable {
	private static final long serialVersionUID = 1L;


	/**
	 * 密评时间
	 */
	private Date assessmentDate;
	/**
	 * 评论类型 1 风评 2 密评
	 */
	private Integer assessmentType;
	/**
	 * 物理和环境安全
	 */
	private Long ps;
	/**
	 * 设备和计算安全
	 */
	private Long es;
	/**
	 * 	网络和通信安全
	 */
	private Long ns;
	/**
	 * 应用和数据安全
	 */
	private Long as;
	private SubAppAssessmentVO buildByEntity (SubAppAssessmentEntity entity){
		SubAppAssessmentVO subAppAssessmentVO = new SubAppAssessmentVO();
		subAppAssessmentVO.setAssessmentDate(entity.getAssessmentDate());
		return subAppAssessmentVO;
	}

}
